import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import CSS from '@/components/css/css'
import Scroller from '@/components/scroller'
import BScroller from '@/components/better_scroller'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/css',
      name: 'CSS',
      component: CSS
    },
    {
      path: '/scroller',
      name: 'scroller',
      component: Scroller
    },
    {
      path: '/bScroller',
      name: 'bScroller',
      component: BScroller
    }
  ]
})
